package com.mock.components;

import org.springframework.stereotype.Component;
import org.ssssssss.magicapi.core.context.RequestEntity;
import org.ssssssss.magicapi.core.interceptor.ResultProvider;

@Component
public class CustomJsonValueProvider implements ResultProvider {
    @Override
    public Object buildResult(RequestEntity requestEntity, int code, String message, Object data) {
        return data;
    }
}
